package text;

import Dao.UserDao;
import Dao.UserDaoImp;
import bean.User;
import service.UserService;

public class UserServiceText {

    public static void main(String[] args) {

        UserDao userDao = new UserDaoImp ();
        UserService userService = new UserService ();
        User admin = userService.userLoginService (new User ("admin", "123456"));
        System.out.println ("找到的数据为" + admin);

    }
}
